package com.peng.service;

import com.peng.dao.pojo.SysUser;
import com.peng.vo.CommentVo;
import com.peng.vo.Result;
import com.peng.vo.UserVo;

import java.util.List;

public interface SysUserService {
    SysUser findUserById(Long id);

    SysUser findUser(String account, String md5);

    Result findUserByToken(String token);

    SysUser findAccountUser(String account);

    void saveUser(SysUser sysUser);

    UserVo findUserVoById(Long articleId);

}
